﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Infrastructure.WpfClient.Accessibility
{
    public class AccessibilityDataCacheSyncServiceClient : ClientBase<IAccessibilityDataCacheSyncService>, IAccessibilityDataCacheSyncService
    {

        #region IAccessibilityDataCacheSyncService Members

        public Microsoft.Synchronization.Data.SyncContext ApplyChanges(Microsoft.Synchronization.Data.SyncGroupMetadata groupMetadata, System.Data.DataSet dataSet, Microsoft.Synchronization.Data.SyncSession syncSession)
        {
            return this.Channel.ApplyChanges(groupMetadata, dataSet, syncSession);
        }

        public Microsoft.Synchronization.Data.SyncContext GetChanges(Microsoft.Synchronization.Data.SyncGroupMetadata groupMetadata, Microsoft.Synchronization.Data.SyncSession syncSession)
        {
            return this.Channel.GetChanges(groupMetadata, syncSession);
        }

        public Microsoft.Synchronization.Data.SyncSchema GetSchema(System.Collections.ObjectModel.Collection<string> tableNames, Microsoft.Synchronization.Data.SyncSession syncSession)
        {
            return this.Channel.GetSchema(tableNames, syncSession); 
        }

        public Microsoft.Synchronization.Data.SyncServerInfo GetServerInfo(Microsoft.Synchronization.Data.SyncSession syncSession)
        {
            return this.GetServerInfo(syncSession); 
        }

        #endregion
    }
}
